From beb3f45ec8724959ca5e360b66b819ef27955bb1 Mon Sep 17 00:00:00 2001 From: robertl Date: Thu, 19 Sep 2002 15:51:20 +0000 Subject: [PATCH] Constify fprintdms. --- defs.h | 3 ++- util.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/defs.h b/defs.h index f8d892fdb..128abe1ae 100644 --- a/defs.h +++ b/defs.h @@ -92,10 +92,11 @@ void waypt_add (waypoint *); void route_add (waypoint *); void waypt_disp_all(waypt_cb); unsigned int waypt_count(void); -void fprintdms(FILE *, coord *, int); +void fprintdms(FILE *, const coord *, int); char *mkshort (const char *); void setshort_length(int n); void setshort_badchars(const char *); +void setshort_mustupper(int n); typedef struct ff_vecs { ff_init rd_init; diff --git a/util.c b/util.c index 68504ae22..66e729b06 100644 --- a/util.c +++ b/util.c @@ -81,7 +81,7 @@ printposn(coord *c, int is_lat) } void -fprintdms(FILE *file, coord *c, int is_lat) +fprintdms(FILE *file, const coord *c, int is_lat) { char d; if (is_lat) { -- 2.30.2